#include "sql/operator/update_logical_operator.h"

UpdateLogicalOperator::UpdateLogicalOperator(Table *table, Field *field, Value *value, int value_amount) 
    : table_(table), field_(field), value_amount_(value_amount)
{
    
    this->value_=new Value();
    this->value_->set_value(*value);
}